package top.kaoshanji.p4ch27a;

/**
 * 代码清单-p4ch27a-349页a：抽象运算符号解析器
 * @author kaoshanji
 * ^_^
 * create time 2025/3/27 19:06
 */
public abstract class SymbolExpression extends Expression {

    protected Expression left;
    protected Expression right;

    // 所有的解析公式都应只关心自己左右两个表达式的结果
    public SymbolExpression(Expression left, Expression right) {
        this.left = left;
        this.right = right;
    }

}
